package com.augurit.gzcgwsp.qyzz.dao;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository;

import com.augurit.common.base.dao.BaseDao;
import com.augurit.gzcgwsp.qyzz.entity.YwRqQyzzFinalJsRy;
/**
 * /**
 *  企业资质--最终企业专业技术人员状况表dao类
 * @author 张军
 *
 */
@Repository
public class YwRqFinalQyzzJsRyDao extends BaseDao<YwRqQyzzFinalJsRy, Long> {

    public List<YwRqQyzzFinalJsRy>  getgetQyzzJsRy(long qyid, String acceptNo) {
        Session session=this.getSession();
        Criteria criteria=session.createCriteria(YwRqQyzzFinalJsRy.class);
        criteria.add(Restrictions.eq("qyid", qyid));
       // criteria.add(Restrictions.eq("acceptNo", acceptNo));
        return criteria.list();
    }


}